

import java.io.OutputStream;
import java.net.Socket;

public class ClientSocketTest {
	
	
	public static void main(String[] args) throws Exception {
		
		
		Socket  s = new Socket("192.168.3.96",8888);
		
		String message="helloServer";
		byte[] bytes = message.getBytes();
		
		
		OutputStream os = s.getOutputStream();
		
		os.write(bytes);
		
		os.flush();
		
		os.close();
		s.close();
		


	}

}
